#pragma once
#include <sys/types.h>
#include <iostream>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

using namespace std;
const string pathname = "./myfifo";


class Init {
public:
    Init() {
        mkfifo(pathname.c_str(), 0666);
    }
    ~Init() {
        unlink(pathname.c_str());
    }
};